package com.ruoyi.back.domain.v4

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.*

@Entity
@TableName("fly_content_source_check_setting")
@Table(name = "fly_content_source_check_setting")
@ApiModel("内容来源审核设置")
data class ContentSourceCheckSetting(

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id 更新的时候需要传递")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: Long? = null,

    @ApiModelProperty("1. 视频 2.图片")
    var type: Int? = null,

    @ApiModelProperty("是否开启")
    var open: Boolean? = false,

    )
